#!/bin/sh /etc/rc.common
# Copyright (C) 2014 OpenWrt.org

START=99
BIN=/usr/sbin/owntone
PID=/var/run/owntone.pid
SSD=start-stop-daemon

start() {
        $SSD -p $PID -S -x $BIN -- -P $PID
}
	
stop() {
        $SSD -p $PID -K -s SIGINT
}
